import { onMounted, ref,inject  } from "vue";
import { getCurrentInstance } from "vue"
import riderActionBar from '../rider-action-bar/rider-action-bar.vue'
import { goToPage } from '../../../utils/utils';
import { tableModuleToggle } from "../../utils/status-toggle";

export default {
    components:{
        riderActionBar
    },
    props:{
        serverData:{
            default:function(){
                return {}
            },
            type:Object
        },
        dragBtnStyle:{
            default:function(){
                return {
                    customClass:``,
                    btnText:``
                }
            },
            type:Object
        },
    },
    setup(props:any) {

        const  openPopup= inject(`openPopup`)

        return {
            tableModuleToggle,
            goToPage,
            openPopup,
        }
    }
}